#ifndef RISING_STAR_OBJECTS_H
#define RISING_STAR_OBJECTS_H

#include "Object.h"
#include "DatabaseMysql.h"

namespace RisingStar
{
	class CObjects
	{
	public:
		CObjects(string in);
		~CObjects();
		const string& Out();
		
	private:
		string mOut;
		map<string,DatabasePtr > mDatabases;
		
		bool AnalysisReport();
		
		CObject::ObjectPtr ProcessObject(string ObjectType, TObjectProperty& objPropert);
		
	};

};

#endif